package se.mushroomwars.network;

import se.mushroomwars.network.protocol.SendData;

public class ServerTester {

	public static void main(String args[]) throws InterruptedException {

		//final ClientInterface network = new ClientInterface();
		Runnable client;
		SendData sender;
		Thread t1;

		sender = new SendData();
		client = new Client(sender, "192.168.0.11", 50034);
		t1 = new Thread(client, "client");
		t1.start();
		Thread.sleep(500);
		
		for(int i = 0; i < 10; i++){
			sender.sendToServer("er: " + i, 4);
		}
		
	}

}
